Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference
getProfileData
This procedure returns profile data value for a specified profile for the current user for the current session. If the procedure is running on the client side, it first looks in the client cache for the profile data value. If the profile data value is not there, the procedure looks in the database.
If a rowid is passed in, then the rowid is used to find the record. For a client-only profile type, the rowid for the temp-table is used. Otherwise, the rowid of the database record is used. A profile type must be passed in to determine whether the rowid is from the temp-table or the database. If a rowid is passed in, it takes precedence over any other input parameters.
If the
Location: af\app\afpromngrp.i Parameters:plNextRecordFlagflag is set toYES, then aFIND NEXTis done to retrieve the record after the passed-in record. If the record is cached on the client, the rowid of the temp-table is returned. Otherwise, the rowid of the database record is returned. The rowid is useful when reading through sets of profile data using the next functionality.INPUT pcProfileTypeCode AS CHARACTERThe profile type code.
INPUT pcProfileCode AS CHARACTERThe profile code.
INPUT pcProfileDataKey AS CHARACTERThe profile data key.
INPUT plNextRecordFlag AS LOGICALThe next flag,
YES= get next value.INPUT-OUTPUT prRowid AS ROWIDThe rowid of the profile data.
OUTPUT pcProfileDataValue AS CHARACTERThe profile data value.
Notes: Always check for session data first, and then for permanent data. Examples: See thegetUserSourceLanguageprocedure inaf\app\afgenmngrp.i.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |